package com.syn.synold4s.bean.dto;

import com.gaoyi.basemodule.basebean.BaseEntity;

import java.util.Date;

public class LockDto extends BaseEntity {
    String sn;
    String lockCode;
    String name;
    int battery;
    double lat;
    double lng;
    String onlineState;
    String lockState;
    String lastAt;
    String icon;
    String address;
    String alarmTypeName;
    String alarmTime;

    public String getAlarmTime() {
        return alarmTime;
    }

    public String getAlarmTypeName() {
        return alarmTypeName;
    }

    public String getSn() {
        return sn;
    }

    public void setSn(String sn) {
        this.sn = sn;
    }

    public String getLockCode() {
        return lockCode;
    }

    public void setLockCode(String lockCode) {
        this.lockCode = lockCode;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getBattery() {
        return battery;
    }

    public void setBattery(int battery) {
        this.battery = battery;
    }

    public double getLat() {
        return lat;
    }

    public void setLat(double lat) {
        this.lat = lat;
    }

    public double getLng() {
        return lng;
    }

    public void setLng(double lng) {
        this.lng = lng;
    }

    public String getOnlineState() {
        return onlineState;
    }

    public void setOnlineState(String onlineState) {
        this.onlineState = onlineState;
    }


    public String getLockState() {
        return lockState;
    }

    public void setLockState(String lockState) {
        this.lockState = lockState;
    }

    public String getLastAt() {
        return lastAt;
    }

    public void setLastAt(String lastAt) {
        this.lastAt = lastAt;
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    @Override
    public String toString() {
        return "LockDto{" +
                ", serialNo='" + sn + '\'' +
                ", lockCode='" + lockCode + '\'' +
                ", lockName='" + name + '\'' +
                ", battery=" + battery +
                ", lat=" + lat +
                ", lng=" + lng +
                ", state=" + onlineState +
                ", stateName='" + onlineState + '\'' +
                ", lockState=" + lockState +
                ", lockStateeName='" + lockState + '\'' +
                ", portalOWAt=" + lastAt +
                ", icon='" + icon + '\'' +
                ", address='" + address + '\'' +
                '}';
    }
}
